package com.club.football.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;


/**
 * 比赛详细信息
 *
 * @author 1
 * @date 2023/12/25
 */
@Data
public class EventsDetail extends BaseEntity implements Serializable {
    /**
     * 赛事详细信息ID
     */
    @TableId(type = IdType.AUTO)
    private Long eventsDetailId;
    /**
     * 赛事ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long eventsId;
    /**
     * 球员ID
     */
    private Long playerId;

    /**
     * 团队id
     */
    private Long teamId;
    /**
     * 赛程ID
     */
    private Long scheduleId;

    /**
     * 备注
     */
    private String remark;
    /**
     * 开始时间
     */
    private String startTime;
    /**
     * 进球数
     */
    private Long goals;
    /**
     * 得分
     */
    private Long score;

}
